package com.qf.base.domain;

import com.qf.common.annotation.Excel;
import com.qf.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * --- ONE PIECE ---
 *
 * @author yangjiangcheng
 * @date 2025/9/2
 * @desc
 */
@Data
public class BaseCarrier extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long carrierId;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String companyName;

    /**
     * 承运商编码
     */
    @Excel(name = "承运商编码")
    private String carrierCode;

    /**
     * 承运商类型
     */
    @Excel(name = "承运商类型")
    private String carrierType;

    /**
     * 司机数量
     */
    @Excel(name = "司机数量")
    private Long driverCount;

    /**
     * 车辆数量
     */
    @Excel(name = "车辆数量")
    private Long vehicleCount;

    /**
     * 公司地址
     */
    @Excel(name = "公司地址")
    private String companyAddress;

    /**
     * 是否签订合同
     */
    @Excel(name = "是否签订合同")
    private String isContractSigned;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("carrierId", getCarrierId())
                .append("companyName", getCompanyName())
                .append("carrierCode", getCarrierCode())
                .append("carrierType", getCarrierType())
                .append("driverCount", getDriverCount())
                .append("vehicleCount", getVehicleCount())
                .append("companyAddress", getCompanyAddress())
                .append("isContractSigned", getIsContractSigned())
                .append("status", getStatus())
                .toString();
    }

}
